
all:
	@(cd dns; make)
	@(cd getaddrinfo; make)
	@(cd fiber; make)
	@(cd fiber sem; make)
	@(cd read; make)
	@(cd httpd; make)
	@(cd httpd2; make)
	@(cd httpd3; make)
	@(cd httpd4; make)
	@(cd client; make)
	@(cd client2; make)
	@(cd connect; make)
	@(cd server; make)
	@(cd server2; make)
	@(cd sleep; make)
	@(cd poll; make)
	@(cd select; make)
	@(cd redis; make)
	@(cd redis_threads; make)
	@(cd timer; make)
	@(cd timer_server; make)
	@(cd channel; make)
	@(cd redis_channel; make)
	@(cd fiber_lock; make)
	@(cd master_fiber; make)
	@(cd master_proxy; make)
	@(cd thread_mbox; make)
	@(cd fiber_cpp; make)
	@(cd channel_cpp; make)
#	@(cd https_client; make)
#	@(cd https_server; make)
	@(cd mysql; make)
	@(cd fiber_local; make)
	@(cd tcp_server; make)
	@(cd tcp_client; make)
	@(cd fiber_tbox; make)

cl clean:
	@(cd dns; make clean)
	@(cd getaddrinfo; make clean)
	@(cd fiber; make clean)
	@(cd fiber_sem; make clean)
	@(cd read; make clean)
	@(cd httpd; make clean)
	@(cd httpd2; make clean)
	@(cd httpd3; make clean)
	@(cd httpd4; make clean)
	@(cd client; make clean)
	@(cd client2; make clean)
	@(cd connect; make clean)
	@(cd server; make clean)
	@(cd server2; make clean)
	@(cd sleep; make clean)
	@(cd poll; make clean)
	@(cd select; make clean)
	@(cd redis; make clean)
	@(cd redis_threads; make clean)
	@(cd timer; make clean)
	@(cd timer_server; make clean)
	@(cd channel; make clean)
	@(cd redis_channel; make clean)
	@(cd fiber_lock; make clean)
	@(cd master_fiber; make clean)
	@(cd master_proxy; make clean)
	@(cd thread_mbox; make clean)
	@(cd fiber_cpp; make clean)
	@(cd channel_cpp; make clean)
	@(cd https_client; make clean)
	@(cd https_server; make clean)
	@(cd mysql; make clean)
	@(cd fiber_local; make clean)
	@(cd tcp_server; make clean)
	@(cd tcp_client; make clean)
	@(cd fiber_tbox; make clean)

rebuild rb: clean all
